package com.youlai.boot.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.math.BigDecimal;

/**
 * 全年销售数据视图对象
 *
 * @author xiheforever
 * @since 2025-05-11 13:29
 */
@Getter
@Setter
@Schema( description = "全年销售数据视图对象")
public class DailyMetricsVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "日期")
    private LocalDate date;
    @Schema(description = "流量指数")
    private Long trafficIndex;
    @Schema(description = "流量指数同比(年)")
    private String trafficIndexYoy;
    @Schema(description = "访客指数")
    private Long visitorIndex;
    @Schema(description = "访客指数同比(年)")
    private String visitorIndexYoy;
    @Schema(description = "关注人数")
    private Integer followers;
    @Schema(description = "关注人数同比(年)")
    private String followersYoy;
    @Schema(description = "加购人数")
    private Integer addToCartUsers;
    @Schema(description = "加购人数同比(年)")
    private String addToCartUsersYoy;
    @Schema(description = "类目搜索指数")
    private Long categorySearchIndex;
    @Schema(description = "类目搜索指数同比(年)")
    private String categorySearchIndexYoy;
    @Schema(description = "类目点击指数")
    private Long categoryClickIndex;
    @Schema(description = "类目点击指数同比(年)")
    private String categoryClickIndexYoy;
    @Schema(description = "搜索点击率")
    private BigDecimal searchClickRate;
    @Schema(description = "搜索点击率同比(年)")
    private String searchClickRateYoy;
    @Schema(description = "成交金额指数")
    private Long transactionAmountIndex;
    @Schema(description = "成交金额指数同比(年)")
    private String transactionAmountIndexYoy;
    @Schema(description = "成交件数指数")
    private Long transactionCountIndex;
    @Schema(description = "成交件数指数同比(年)")
    private String transactionCountIndexYoy;
    @Schema(description = "成交转化率")
    private BigDecimal conversionRate;
    @Schema(description = "成交转化率同比(年)")
    private String conversionRateYoy;
    @Schema(description = "成交客单价")
    private BigDecimal transactionUnitPrice;
    @Schema(description = "成交客单价同比(年)")
    private String transactionUnitPriceYoy;
    @Schema(description = "品牌数")
    private Integer brandCount;
    @Schema(description = "品牌数同比(年)")
    private String brandCountYoy;
    @Schema(description = "被访问品牌数")
    private Integer visitedBrands;
    @Schema(description = "被访问品牌数同比(年)")
    private String visitedBrandsYoy;
    @Schema(description = "动销品牌数")
    private Integer activeBrands;
    @Schema(description = "动销品牌数同比(年)")
    private String activeBrandsYoy;
    @Schema(description = "店铺数")
    private Integer shopCount;
    @Schema(description = "店铺数同比(年)")
    private String shopCountYoy;
    @Schema(description = "被访问店铺数")
    private Integer visitedShops;
    @Schema(description = "被访问店铺数同比(年)")
    private String visitedShopsYoy;
    @Schema(description = "动销店铺数")
    private Integer activeShops;
    @Schema(description = "动销店铺数同比(年)")
    private String activeShopsYoy;
    @Schema(description = "被访问商品数")
    private Integer visitedProducts;
    @Schema(description = "被访问商品数同比(年)")
    private String visitedProductsYoy;
    @Schema(description = "动销商品数")
    private Integer activeProducts;
    @Schema(description = "动销商品数同比(年)")
    private String activeProductsYoy;
}
